#include "ToolBase.h"
#include "GraphicsView.h"

ToolBase::ToolBase(const QString &icon, const QString &grp)
: m_icon(icon), m_group(grp)
{
}

ToolBase::~ToolBase()
{
}

void
ToolBase::mousePressEvent(GraphicsView *, QMouseEvent *)
{
}

void
ToolBase::mouseReleaseEvent(GraphicsView *, QMouseEvent *)
{
}

void
ToolBase::mouseMoveEvent(GraphicsView *, QMouseEvent *)
{
}

void
ToolBase::mouseDoubleClickEvent(GraphicsView *, QMouseEvent *)
{
}

QString
ToolBase::group() const
{
    return m_group;
}

QString
ToolBase::iconPath() const
{
    return m_icon;
}

QString
ToolBase::toolTip() const
{
    return QString();
}

QCursor
ToolBase::cursor() const
{
    return Qt::ArrowCursor;
}

vector<unsigned int>
ToolBase::hotkey() const
{
    return vector<unsigned int>();
}

void
ToolBase::reset()
{
}
